import {request} from "../util/request";

export default {
    mainData() {
        return request({
            url: '/movie/mainData',
            method: 'get'
        })
    },
    movieSearchByName(movieName) {  //通过名称搜索电影
        return request({
            url: '/thirdparty/es/listLikeMovieByName',
            method: 'get',
            params: {
                movieName
            }
        })
    }
}